package com.hmall.model;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

@Table(name = "order_adopt")
public class OrderAdopt {
    @Id
    @Column(name = "adopt_id")
    private Integer adoptId;

    @Column(name = "order_no")
    private Long orderNo;

    /**
     * 审核人
     */
    @Column(name = "adopt_name")
    private String adoptName;

    @Column(name = "is_adopt")
    private Integer isAdopt;

    /**
     * 意见
     */
    private String opinion;
    @Column(name = "create_time")
    private Date createTime;

    /**
     * @return adopt_id
     */
    public Integer getAdoptId() {
        return adoptId;
    }

    /**
     * @param adoptId
     */
    public void setAdoptId(Integer adoptId) {
        this.adoptId = adoptId;
    }

    /**
     * @return order_no
     */
    public Long getOrderNo() {
        return orderNo;
    }

    /**
     * @param orderNo
     */
    public void setOrderNo(Long orderNo) {
        this.orderNo = orderNo;
    }

    /**
     * 获取审核人
     *
     * @return adopt_name - 审核人
     */
    public String getAdoptName() {
        return adoptName;
    }

    /**
     * 设置审核人
     *
     * @param adoptName 审核人
     */
    public void setAdoptName(String adoptName) {
        this.adoptName = adoptName;
    }

    /**
     * @return is_adopt
     */
    public Integer getIsAdopt() {
        return isAdopt;
    }

    /**
     * @param isAdopt
     */
    public void setIsAdopt(Integer isAdopt) {
        this.isAdopt = isAdopt;
    }

    /**
     * 获取意见
     *
     * @return opinion - 意见
     */
    public String getOpinion() {
        return opinion;
    }

    /**
     * 设置意见
     *
     * @param opinion 意见
     */
    public void setOpinion(String opinion) {
        this.opinion = opinion;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

}